package com.shd.feign.fallback;

import com.shd.common.core.bean.ResultBean;
import com.shd.common.core.response.R;
import com.shd.feign.client.UserRemoteClient;
import com.shd.feign.dto.UserDto;
import org.springframework.stereotype.Component;

@Component
public class UserRemoteFallback implements UserRemoteClient {
    @Override
    public ResultBean<UserDto> getById(int id) {
        return R.fail("获取远程用户信息失败");
    }
}
